#include "junix.h"
#include <boost/ref.hpp>
using namespace std;

int main(int argc, char **argv)
{
	int a=9;
	int &b=boost::ref(a);

	cout<<b<<endl;
	a=10;
	cout<<b<<endl;

	int c=boost::ref(b);
	cout<<c<<endl;

	a=11;
	cout<<b<<endl;
	cout<<c<<endl;
}
